package com.badminton.commendSys.service;

import java.util.List;
import com.badminton.commendSys.domain.Equipmentrecommendation;

/**
 * 装备推荐Service接口
 *
 * @date 2024-07-04
 */
public interface IEquipmentrecommendationService {
    /**
     * 查询装备推荐
     *
     * @param recommendationid 装备推荐主键
     * @return 装备推荐
     */
    Equipmentrecommendation selectEquipmentrecommendationByRecommendationid(Long recommendationid);

    /**
     * 查询装备推荐列表
     *
     * @param equipmentrecommendation 装备推荐
     * @return 装备推荐集合
     */
    List<Equipmentrecommendation> selectEquipmentrecommendationList(Equipmentrecommendation equipmentrecommendation);

    /**
     * 新增装备推荐
     *
     * @param equipmentrecommendation 装备推荐
     * @return 结果
     */
    int insertEquipmentrecommendation(Equipmentrecommendation equipmentrecommendation);

    /**
     * 修改装备推荐
     *
     * @param equipmentrecommendation 装备推荐
     * @return 结果
     */
    int updateEquipmentrecommendation(Equipmentrecommendation equipmentrecommendation);

    /**
     * 批量删除装备推荐
     *
     * @param recommendationids 需要删除的装备推荐主键集合
     * @return 结果
     */
    int deleteEquipmentrecommendationByRecommendationids(Long[] recommendationids);

    /**
     * 删除装备推荐信息
     *
     * @param recommendationid 装备推荐主键
     * @return 结果
     */
    int deleteEquipmentrecommendationByRecommendationid(Long recommendationid);
}
